package com.itheima.功能流.properties;

import java.util.Properties;

//
public class PropertiesDemo1 {
    public static void main(String[] args) {
        //非泛型类的map集合,无需也无法指定泛型
        Properties prop = new Properties();
        //增
        prop.put("student","itheima");
        prop.put("name","zhangsan");
        prop.put("sex","nan");

        //删
        prop.remove("sex");

        //改
        prop.put("student","chuanzhi");

        //查
        Object name = prop.get("name");
        System.out.println(name);

    }
}
